package com.qf.jie.service;

import com.qf.jie.entity.po.Order;
import com.qf.jie.entity.vo.RespBean;

import javax.servlet.http.HttpServletRequest;

public interface OrderService extends BaseService<Order> {
    //创建订单
    RespBean addOrder(HttpServletRequest req, String strCommodity_id, String address, String phone);
    //获取订单（我是买家）
    RespBean getOrderListByUserId_0(HttpServletRequest req);
    //获取订单（我是卖家）
    RespBean getOrderListByUserId_1(HttpServletRequest req);
    //发货
    RespBean updateStatusByUser_id_1(HttpServletRequest req, String order_id);
    //确认收货
    RespBean updateStatusByUser_id_0(HttpServletRequest req, String order_id, String commodity_id, String user_id_0, String user_id_1);

}
